Skip to main content

All Questions

1vote
1answer
706views

Simulating Keystrokes to a Telnet process

On my Linux system I have opened a Telnet session. On the other tab I am running a Python script and giving commands to the Telnet session using mkfifo file redirection. But I am not able to simulate ...
Anubhav Rai's user avatar
4votes
3answers
823views

Need to remove files older then 90 days with an exception of last day of the month

Need help in deleting files from unix directory which are older then 90 days, but need to retain files which belongs to end of the month date. (ex: 28th Feb 2022, 31th march, 30th April ) for Ex: I ...
AK143's user avatar
0votes
0answers
52views

Problem with file ".ssh/rc" and option "ForceCommand". Script python loop infinite!

As the title suggests, I have a python script to run when logging in with ssh. The problem is that in the script there is a "while" loop with "raw_input" inside which must read a keyboard value. If ...
user avatar
0votes
0answers
40views

Terminal Hangs when running bot

I have a bot installed on my Azure Linux VM running Ubuntu 18.04. I am running the command to start my bot, and it returns an error (see below). The console freezes as well apparently because it ...
user avatar
3votes
1answer
2kviews

Running python script on ubuntu machine using ./myscript.py

I am running a python script named myscript.py on ubuntu machine. I usually use python command to run python scripts as below. python main.py Recently, I downloaded a python script from a Github ...
Gaurav Srivastava's user avatar
-1votes
1answer
107views

How Mount a datastore on linux in python [closed]

I need to mount xyz/pqr/ datastore on my linux mychine for in my python script.
abhishek yadav's user avatar
-1votes
2answers
544views

Where can I practice my Python and Bash scripting? [closed]

I wanted to practice my bash scripting skills and python skills and wanted a good book or a site where I can practice and get excellent skills please. Any recommendations please.
BeachSamurai's user avatar
4votes
1answer
19kviews

How / Is it possible to install python in a portable way?

I'm working on a python script which takes care to migrate a mysql database with a certain schema / structure, into a postgresql database with a different structure. During the development phase I ...
lese's user avatar
  • 2,756

close